package cn.com.thinvent.dispatch.service.biz;

import cn.com.thinvent.dispatch.entity.request.ExpenseRequest;
import cn.com.thinvent.dispatch.entity.response.ExpenseResponse;
import cn.com.thinvent.dispatch.entity.response.PagedGridResult;

public interface ExpenseService {

    PagedGridResult<ExpenseResponse> getExpenses(Integer page, Integer pageSize, String expenseName);

    Integer addExpense(ExpenseRequest expense);

    Integer updateExpense(String id , ExpenseRequest updatedExpense);

    Integer deleteExpense(String id);

    ExpenseResponse getExpenseDetails(String id);

}
